<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:forgeview="http://jboss.org/forge/view"
	template="/resources/templates/pageTemplate.xhtml">

	<f:metadata>
		<f:viewParam name="id" value="#{sysVehicleType01Bean.id}"/>
		<f:event type="preRenderView" listener="#{sysVehicleType01Bean.retrieve}"/>
	</f:metadata>

	<ui:param name="pageTitle" value="View Sys Vehicle Type 01"/>

	<ui:define name="header">
		Sys Vehicle Type 01
	</ui:define>

	<ui:define name="subheader">
		View existing Sys Vehicle Type 01
	</ui:define>

	<ui:define name="footer"/>

	<ui:define name="main">
		<h:panelGrid columnClasses="label,component,required" columns="3">
			<h:outputLabel for="sysVehicleType01BeanSysVehicleType01VehicleType01No" value="Vehicle Type 01No:"/>
			<h:outputText id="sysVehicleType01BeanSysVehicleType01VehicleType01No" value="#{sysVehicleType01Bean.sysVehicleType01.vehicleType01No}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleType01BeanSysVehicleType01VehicleType01Descr" value="Vehicle Type 01Descr:"/>
			<h:outputText id="sysVehicleType01BeanSysVehicleType01VehicleType01Descr" value="#{sysVehicleType01Bean.sysVehicleType01.vehicleType01Descr}"/>
			<h:outputText/>
			<h:outputLabel for="sysVehicleType01BeanSysVehicleType01SysApproveLevelRateVehicleTypes" value="Sys Approve Level Rate Vehicle Types:"/>
			<h:dataTable id="sysVehicleType01BeanSysVehicleType01SysApproveLevelRateVehicleTypes" styleClass="data-table" value="#{forgeview:asList(sysVehicleType01Bean.sysVehicleType01.sysApproveLevelRateVehicleTypes)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Approve Level"/>
					</f:facet>
					<h:link outcome="/form/sysApproveLevelRateVehicleType/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="forgeviewdisplayitemSysApproveLevel" value="#{forgeview:display(_item.sysApproveLevel)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Approved Min Val"/>
					</f:facet>
					<h:link outcome="/form/sysApproveLevelRateVehicleType/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemApprovedMinVal" value="#{_item.approvedMinVal}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Approved Max Val"/>
					</f:facet>
					<h:link outcome="/form/sysApproveLevelRateVehicleType/view">
						<f:param name="id" value="#{_item.id}"/>
						<h:outputText id="itemApprovedMaxVal" value="#{_item.approvedMaxVal}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
			<h:outputLabel for="sysVehicleType01BeanSysVehicleType01SysVehicleTypes" value="Sys Vehicle Types:"/>
			<h:dataTable id="sysVehicleType01BeanSysVehicleType01SysVehicleTypes" styleClass="data-table" value="#{forgeview:asList(sysVehicleType01Bean.sysVehicleType01.sysVehicleTypes)}" var="_item">
				<h:column>
					<f:facet name="header">
						<h:outputText value="Sys Vehicle Type 02"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleType/view">
						<f:param name="id" value="#{_item.vehicleTypeNo}"/>
						<h:outputText id="forgeviewdisplayitemSysVehicleType02" value="#{forgeview:display(_item.sysVehicleType02)}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Vehicle Type Descr"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleType/view">
						<f:param name="id" value="#{_item.vehicleTypeNo}"/>
						<h:outputText id="itemVehicleTypeDescr" value="#{_item.vehicleTypeDescr}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Vehicle Type 03No"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleType/view">
						<f:param name="id" value="#{_item.vehicleTypeNo}"/>
						<h:outputText id="itemVehicleType03No" value="#{_item.vehicleType03No}"/>
					</h:link>
				</h:column>
				<h:column>
					<f:facet name="header">
						<h:outputText value="Vehicle Type Status No"/>
					</f:facet>
					<h:link outcome="/form/sysVehicleType/view">
						<f:param name="id" value="#{_item.vehicleTypeNo}"/>
						<h:outputText id="itemVehicleTypeStatusNo" value="#{_item.vehicleTypeStatusNo}"/>
					</h:link>
				</h:column>
			</h:dataTable>
			<h:outputText/>
		</h:panelGrid>

		<div class="buttons">
			<h:link value="View All" outcome="search" styleClass="btn btn-primary"/> 
			<h:link value="Edit" outcome="create" includeViewParams="true" styleClass="btn btn-primary"/>
			<h:link value="Create New" outcome="create" styleClass="btn btn-primary"/>
		</div>
	</ui:define>

</ui:composition>